package com.yaorange.nongjt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 农产品检查记录对象 njt_inspection_records
 * 
 * @author hzliu
 * @date 2025-09-28
 */
public class NjtInspectionRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 检查部门 */
    @Excel(name = "检查部门")
    private String inspectionDepartment;

    /** 检查人员 */
    @Excel(name = "检查人员")
    private String inspectorName;

    /** 生产主体 */
    @Excel(name = "生产主体")
    private String productionEntity;

    /** 法人名称 */
    @Excel(name = "法人名称")
    private String legalPersonName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String districtCounty;

    /** 镇/乡 */
    @Excel(name = "镇/乡")
    private String townVillage;

    /** 检查地点 */
    @Excel(name = "检查地点")
    private String inspectionLocation;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 合格证开具是否规范 */
    @Excel(name = "合格证开具是否规范")
    private String certificateStandard;

    /** 是否使用禁用农药、兽药 */
    @Excel(name = "是否使用禁用农药、兽药")
    private String prohibitedChemicalsUsed;

    /** 检查意见 */
    @Excel(name = "检查意见")
    private String inspectionOpinion;

    /** 检查记录照片（存储图片路径数组） */
    @Excel(name = "检查记录照片", readConverterExp = "存=储图片路径数组")
    private String inspectionPhotos;

    /** 检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionTime;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setInspectionDepartment(String inspectionDepartment) 
    {
        this.inspectionDepartment = inspectionDepartment;
    }

    public String getInspectionDepartment() 
    {
        return inspectionDepartment;
    }

    public void setInspectorName(String inspectorName) 
    {
        this.inspectorName = inspectorName;
    }

    public String getInspectorName() 
    {
        return inspectorName;
    }

    public void setProductionEntity(String productionEntity) 
    {
        this.productionEntity = productionEntity;
    }

    public String getProductionEntity() 
    {
        return productionEntity;
    }

    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setDistrictCounty(String districtCounty) 
    {
        this.districtCounty = districtCounty;
    }

    public String getDistrictCounty() 
    {
        return districtCounty;
    }

    public void setTownVillage(String townVillage) 
    {
        this.townVillage = townVillage;
    }

    public String getTownVillage() 
    {
        return townVillage;
    }

    public void setInspectionLocation(String inspectionLocation) 
    {
        this.inspectionLocation = inspectionLocation;
    }

    public String getInspectionLocation() 
    {
        return inspectionLocation;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    public void setCertificateStandard(String certificateStandard) 
    {
        this.certificateStandard = certificateStandard;
    }

    public String getCertificateStandard() 
    {
        return certificateStandard;
    }

    public void setProhibitedChemicalsUsed(String prohibitedChemicalsUsed) 
    {
        this.prohibitedChemicalsUsed = prohibitedChemicalsUsed;
    }

    public String getProhibitedChemicalsUsed() 
    {
        return prohibitedChemicalsUsed;
    }

    public void setInspectionOpinion(String inspectionOpinion) 
    {
        this.inspectionOpinion = inspectionOpinion;
    }

    public String getInspectionOpinion() 
    {
        return inspectionOpinion;
    }

    public void setInspectionPhotos(String inspectionPhotos) 
    {
        this.inspectionPhotos = inspectionPhotos;
    }

    public String getInspectionPhotos() 
    {
        return inspectionPhotos;
    }

    public void setInspectionTime(Date inspectionTime) 
    {
        this.inspectionTime = inspectionTime;
    }

    public Date getInspectionTime() 
    {
        return inspectionTime;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectionDepartment", getInspectionDepartment())
            .append("inspectorName", getInspectorName())
            .append("productionEntity", getProductionEntity())
            .append("legalPersonName", getLegalPersonName())
            .append("contactPhone", getContactPhone())
            .append("province", getProvince())
            .append("city", getCity())
            .append("districtCounty", getDistrictCounty())
            .append("townVillage", getTownVillage())
            .append("inspectionLocation", getInspectionLocation())
            .append("productName", getProductName())
            .append("certificateStandard", getCertificateStandard())
            .append("prohibitedChemicalsUsed", getProhibitedChemicalsUsed())
            .append("inspectionOpinion", getInspectionOpinion())
            .append("inspectionPhotos", getInspectionPhotos())
            .append("inspectionTime", getInspectionTime())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
